
version 16 

clear all 
set more off 

// Replication for "Crossing the District Line: Border Mismatch and Targeted Redistribution"
// March, 2025 
// Allison Stashko

// Analysis

// Set path for Replication Folder 


global ReplicationPath "~/Dropbox/Econ/Unequal Votes/Replication_JOP/"  //note: use full path for mv command

global OutputPath "$ReplicationPath/1_Data/output"
global AnalysisCodePath "$ReplicationPath/2_Analysis/code"
global TablesPath "$ReplicationPath/3_Tables_and_Figures"

// install packages if necessary
ssc install palettes, replace
ssc install grstyle, replace
ssc install colrspace, replace


// import county-year panel
import delim "$OutputPath/countydistrict.csv", clear case(preserve)

// Analysis for all Tables and Figures, county-level
do "$AnalysisCodePath/1_countydistrict_analysis.do"

// Analysis for all Tables and Figures, state-level
import delim "$OutputPath/GovFin_state", clear case(preserve)
do "$AnalysisCodePath/2_state_exp_sumstats.do"


